package models;

import java.util.Date;
import javax.jdo.annotations.Index;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PrimaryKey;
import javax.persistence.Id;

@Index
public class Rating {
	
	@PrimaryKey
	@Id
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)	
	Long	rateID;
	
	Long	solID;
	Date	nominatedON;
	String	nominateSolutionYear;
	String	nominateSolutionMonth;
	Date	bestOfRegionON;
	String	bestOfRegionYear;
	String	bestOfRegionMonth;
	Date	bestOfBestON;
	String	bestOfBestYear;
	String	bestOfBestMonth;
	Date	submittedON;
	Date	modifiedON;
	String	ratedBY;
	
	public long getRateID() {
		return rateID;
	}
	public void setRateID(Long rateID) {
		this.rateID = rateID;
	}
	public long getSolID() {
		return solID;
	}
	public void setSolID(Long solID) {
		this.solID = solID;
	}
	public Date getNominatedON() {
		return nominatedON;
	}
	public void setNominatedON(Date nominatedON) {
		this.nominatedON = nominatedON;
	}
	public String getNominateSolutionYear() {
		return nominateSolutionYear;
	}
	public void setNominateSolutionYear(String nominateSolutionYear) {
		this.nominateSolutionYear = nominateSolutionYear;
	}
	public String getNominateSolutionMonth() {
		return nominateSolutionMonth;
	}
	public void setNominateSolutionMonth(String nominateSolutionMonth) {
		this.nominateSolutionMonth = nominateSolutionMonth;
	}
	public Date getBestOfRegionON() {
		return bestOfRegionON;
	}
	public void setBestOfRegionON(Date bestOfRegionON) {
		this.bestOfRegionON = bestOfRegionON;
	}
	public String getBestOfRegionYear() {
		return bestOfRegionYear;
	}
	public void setBestOfRegionYear(String bestOfRegionYear) {
		this.bestOfRegionYear = bestOfRegionYear;
	}
	public String getBestOfRegionMonth() {
		return bestOfRegionMonth;
	}
	public void setBestOfRegionMonth(String bestOfRegionMonth) {
		this.bestOfRegionMonth = bestOfRegionMonth;
	}
	public Date getBestOfBestON() {
		return bestOfBestON;
	}
	public void setBestOfBestON(Date bestOfBestON) {
		this.bestOfBestON = bestOfBestON;
	}
	public String getBestOfBestYear() {
		return bestOfBestYear;
	}
	public void setBestOfBestYear(String bestOfBestYear) {
		this.bestOfBestYear = bestOfBestYear;
	}
	public String getBestOfBestMonth() {
		return bestOfBestMonth;
	}
	public void setBestOfBestMonth(String bestOfBestMonth) {
		this.bestOfBestMonth = bestOfBestMonth;
	}
	public Date getSubmittedON() {
		return submittedON;
	}
	public void setSubmittedON(Date submittedON) {
		this.submittedON = submittedON;
	}
	public Date getModifiedON() {
		return modifiedON;
	}
	public void setModifiedON(Date modifiedON) {
		this.modifiedON = modifiedON;
	}
	public String getRatedBY() {
		return ratedBY;
	}
	public void setRatedBY(String ratedBY) {
		this.ratedBY = ratedBY;
	}

}
